<?php
$simparr=array ("apple","mango",23); 
echo "<pre>";
print_r($simparr);  
echo "<br/>";
var_dump($simparr);   //print widionformation
echo "<br/>";
var_export($simparr);  //prints n data uasable in PHP again,

$newar=array (
  0 => 'apple',
  1 => 'mango',
  2 => 23,
    3=>445
);
/*print_r($newar);
echo "<br/>";
print_r($_SERVER);
*/
echo "<br/>";
$loc=$_SERVER['PHP_SELF'];
echo $loc;


echo "<br/>";
$aso=Array
(
    'first' => apple,
    'Second' => mango,
    'Third' => 23,
    'Fourth' => 445
);
print_r($aso);

echo "<br/>";

$a[]="man";
$a[]="woman";
$a[]="allman";
print_r($a);

echo "<br/>";

$ab[me]="man";
$ab[she]="woman";
$ab[they]="allman";
print_r($ab);

echo "br/>";

$city1=array("kathmandu","nepalgunj","pokhara","dharan");
$city2=array("kathmandu","nepalgunj");
echo "<br/>";

$names=array("ram","shyam","sita","hari");
print_r($names);
echo "<br/>";
$s=array_shift($names);
print_r($s);
echo "<br/>";
array_push($names,$s);
print_r($names);

?>